// Sorting.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "InsertionSort.h"
#include "MergeSort.h"
#include <iostream>

int _tmain(int argc, _TCHAR* argv[])
{
    int Arr_A[] = {9, 5, 13, 17, 2, 10, 4, 1, 12, 3, 7, 6, 8, 13};
    int ArrLength = sizeof(Arr_A) / sizeof(int);    
    //InsertionSort(Arr_A, 4, 9);
    InsertionSortRecursive(Arr_A, 4, 9);
    //MergeSort(Arr_A, 4, 9);
    
    for(int ind = 0; ind < ArrLength; ++ind)
    {
        std::cout << Arr_A[ind] << " , ";
    }
    std::cout << std::endl;    
    getchar();
	return 0;
}

